<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Main_function_entry extends CI_Controller
{
	public function __construct()
	{

		parent::__construct();
	}
	
	public function index()
	{
		$data['css'][0] = "<link type='text/css' rel='stylesheet' href='".base_url()."css/login.css'>";
		$data['css'][1] = "<link type='text/css' rel='stylesheet' href='".base_url()."css/jq_login.css'>";
		$data['title'] = '健康之友';
		$this->load->view("_header", $data);
		$this->load->view("functionEntry/main/mainEntry");
		$this->load->view("_footer");
	}
	
	public function left()
	{
		$this->load->view("functionEntry/main/left");
	}
	
	public function right()
	{
		echo "欢迎登录健康之友";
	}

}

?>